home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / pcboard / vrs501.zip / VRS-M1.PPE (.txt) < prev    next >
PCBoard Programming Language Executable  |  1996-10-08  |  5KB  |  142 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     String   STRING001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.     String   STRING005
  24.     String   STRING006
  25.     String   STRING007
  26.  
  27. ;------------------------------------------------------------------------------
  28.  
  29.     Goto LABEL001
  30.     End
  31.     If (0 == 0) STRING001 = "NO"
  32.     If (0 == 1) STRING001 = "YES"
  33.  
  34.     EndFunc
  35.  
  36.     :LABEL001
  37.     STRING002 = String(PcbNode())
  38.     If (PcbNode() == 0) STRING002 = "A"
  39.     STRING003 = String(Random(1000)) + "X" + STRING002
  40.     STRING005 = GetEnv(STRING002 + "RECNO")
  41.     STRING005 = ToInteger(STRING005)
  42.     STRING006 = "@X10┌─────────────────────────────────────────────────────────────────────────────@X19┐@X0F"
  43.     STRING007 = "@X10└@X19─────────────────────────────────────────────────────────────────────────────@X19┘@X0F"
  44.     DCloseAll
  45.     DOpen 0, PPEPath() + "USER.DBF", 0
  46.     DGo 0, STRING005
  47.     STRING004 = Strip(DGet(0, "VITALITY"), " ")
  48.     Select Case (STRING004)
  49.         Case "Y", "S", "B", "I"
  50.             STRING004 = "ALIVE"
  51.         Case "N"
  52.             STRING004 = "DEAD"
  53.         Case "C"
  54.             STRING004 = "CRYO-CORPSE"
  55.     End Select
  56.     Cls
  57.     PrintLn STRING006
  58.     PrintLn "@X10│@X1F                Virtual Reality Soldier - @X1AView Soldier Stats @POS:79@@X19│@X0F"
  59.     PrintLn STRING007
  60.     PrintLn STRING006
  61.     PrintLn "@X10│@X1FAlias@X11···················@X1E:@X1A ", RTrim(DGet(0, "HANDLE"), " "), "@POS:79@@X19│@X0F"
  62.     PrintLn "@X10│@X1FExperience@X11··············@X1E:@X1A ", Strip(DGet(0, "EXP"), " "), "@POS:46@@X1FLevel@X11··············@X1E:@X1A ", Strip(DGet(0, "LEVEL"), " "), "@POS:79@@X19│@X0F"
  63.     PrintLn "@X10│@X1FAlive or Dead@X11···········@X1E:@X1A ", STRING004, "@POS:46@@X1F# of kills@X11·········@X1E:@X1A ", Strip(DGet(0, "KILLS"), " "), "@POS:79@@X19│@X0F"
  64.     PrintLn "@X10│@X1FBase Hitpoints@X11··········@X1E:@X1A ", Strip(DGet(0, "HITPTS_B"), " "), "@POS:46@@X1FHitpoints Left@X11·····@X1E:@X1A ", Strip(DGet(0, "HITPTS_L"), " "), "@POS:79@@X19│@X0F"
  65.     PrintLn "@X10│@X1FPlayer Fights Left@X11······@X1E:@X1A ", Strip(DGet(0, "P_FTS_L"), " "), "@POS:46@@X1FMutant Fights Left@X11·@X1E:@X1A ", Strip(DGet(0, "R_FTS_L"), " "), "@POS:79@@X19│@X0F"
  66.     PrintLn "@X10│@X1FOffensive Strength@X11······@X1E:@X1A ", Strip(DGet(0, "OFF_STR"), " "), "@POS:46@@X1FDefensive Strength@X11·@X1E:@X1A ", Strip(DGet(0, "DEF_STR"), " "), "@POS:79@@X19│@X0F"
  67.     PrintLn "@X10│@X1FNumber of times played@X11··@X1E:@X1A ", Strip(DGet(0, "PLAYED"), " "), "@POS:46@@X1FMutation Level@X11·····@X1E:@X1A ", Strip(DGet(0, "INFECTED"), " "), "@POS:79@@X19│@X0F"
  68.     PrintLn "@X10│@X1FCash on Hand@X11············@X1E:@X1A ", Strip(DGet(0, "CASH"), " "), "@POS:46@@X1FCash in the bank@X11···@X1E:@X1A ", Strip(DGet(0, "BANKED"), " "), "@POS:79@@X19│@X0F"
  69.     PrintLn "@X10│@X1FMail number@X11·············@X1E:@X1A ", Strip(DGet(0, "FILE_NUM"), " "), "@POS:79@@X19│@X0F"
  70.     PrintLn STRING007
  71.     PrintLn STRING006
  72.     PrintLn "@X10│@X1F─────@X12Weapon Name@X1A────────────@X12Ammo@X1A─@X12Damage@X1A─ ─Armor Name──────────────────Damage─@POS:79@@X19│@X0F"
  73.     PrintLn "@X10│@X1F", Trim(DGet(0, "WEAPT0"), " "), "@X13@POS:30@", RTrim(DGet(0, "WEAPA0"), " "), "@X1C@POS:34@", RTrim(DGet(0, "WEAPD0"), " "), "@POS:43@@X1A", RTrim(DGet(0, "ARMOR_T"), " "), "@POS:74@@X1C", RTrim(DGet(0, "ARMOR_D"), " "), "@POS:79@@X19│@X0F"
  74.     If (DGet(0, "WEAPN1") > 0) PrintLn "@X10│@X1F", RTrim(DGet(0, "WEAPT1"), " ") , "@POS:30@@X13", RTrim(DGet(0, "WEAPA1"), " ") , "@X1C@POS:34@", RTrim(DGet(0, "WEAPD1"), " ") , "@POS:79@@X19│@X0F"
  75.     If (DGet(0, "WEAPN2") > 0) PrintLn "@X10│@X1F", RTrim(DGet(0, "WEAPT2"), " ") , "@X13@POS:30@", RTrim(DGet(0, "WEAPA2"), " ") , "@X1C@POS:34@", RTrim(DGet(0, "WEAPD2"), " ") , "@POS:79@@X19│@X0F"
  76.     If (DGet(0, "S_W_NUMBER") > 0) PrintLn "@X10│@X1F", RTrim(DGet(0, "S_W_NAME"), " ") , "@X13@POS:30@", RTrim(DGet(0, "S_W_AMMO"), " ") , "@X1C@POS:34@", RTrim(DGet(0, "S_W_DAMAGE"), " ") , "@POS:79@@X19│@X0F"
  77.     PrintLn STRING007
  78.     Newline
  79.     Call PPEPath() + "VRS-M19.PPE"
  80.     DCloseAll
  81.     End
  82.  
  83. ;------------------------------------------------------------------------------
  84. ;
  85. ; Usage report (before postprocessing)
  86. ;
  87. ; ■ Statements used :
  88. ;
  89. ;    2       End
  90. ;    1       Cls
  91. ;    6       Goto 
  92. ;    13      Let 
  93. ;    21      PrintLn 
  94. ;    9       If 
  95. ;    1       Newline
  96. ;    1       Call 
  97. ;    1       EndFunc
  98. ;    1       DOpen 
  99. ;    2       DCloseAll
  100. ;    1       DGo 
  101. ;
  102. ;
  103. ; ■ Functions used :
  104. ;
  105. ;    5       +
  106. ;    9       ==
  107. ;    3       >
  108. ;    3       !
  109. ;    3       ||
  110. ;    14      RTrim()
  111. ;    1       Trim()
  112. ;    1       Random()
  113. ;    15      Strip()
  114. ;    2       String()
  115. ;    2       PPEPath()
  116. ;    2       PcbNode()
  117. ;    1       GetEnv()
  118. ;    1       ToInteger()
  119. ;    33      DGet()
  120. ;
  121. ;------------------------------------------------------------------------------
  122. ;
  123. ; Analysis flags : C
  124. ;
  125. ; C - Call child PPE ■ 3
  126. ;     This is usually normal, but may be a tricky way to launch some
  127. ;     sysop-only commands.
  128. ;     ■ Search for : CALL
  129. ;
  130. ;------------------------------------------------------------------------------
  131. ;
  132. ; Postprocessing report
  133. ;
  134. ;    0       For/Next
  135. ;    0       While/EndWhile
  136. ;    0       If/Then or If/Then/Else
  137. ;    1       Select Case
  138. ;
  139. ;------------------------------------------------------------------------------
  140. ;                 AEGiS Corp - Break the routines, code against the machines!
  141. ;------------------------------------------------------------------------------
  142.